package com.jmlee.service;

import com.jmlee.avo.ChooseSelectVo;
import com.jmlee.pojo.Acarousel;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

/**
 * 广告管理
 *
 * @author xl W
 * @date 2021/3/13 15:37
 */

public interface CarouselService {

    //================================广告管理====================================


    //分店广告表格数据
    int selectSAdAcListCount(Acarousel acarousel,Long adminId);

    //分店广告表格数据
    List<Acarousel> selectSAdAcList(Acarousel acarousel, RowBounds rowBounds,Long adminId);

    //总店广告表格数据
    int selectAdAcListCount(Acarousel acarousel );

    //总店广告表格数据
    List<Acarousel> selectAdAcList(Acarousel acarousel, RowBounds rowBounds );

    //总店广告列表禁用
    boolean acarouselForbidden(Acarousel acarousel);
    //总店广告列表启用
    boolean carouselStart(Acarousel acarousel);
    //总店广告列表审核
    boolean carouselPass(String aId);
    //广告审核不通过
    boolean carouselNoPass(String aId);
    //添加图片
    boolean addPicture(Acarousel acarousel);

    Integer addAdvertising(Acarousel acarousel);

    //下拉框资料二级联动
    List<ChooseSelectVo>getCa( );
    List<ChooseSelectVo>getIt( );


}
